package com.lbd.system.dao;

import com.lbd.system.bean.BindCard;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;
import java.util.List;

public interface BindCardRepository extends PagingAndSortingRepository<BindCard, Serializable>, JpaSpecificationExecutor<BindCard> {
    List<BindCard> findByBankNo(String bankNo);

    List<BindCard> findByUserId(String id);
}